/* 全局基础样式 */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Segoe UI', 'Roboto', 'Oxygen', 'Ubuntu', 'Cantarell', sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  background-color: #f5f5f5;
  color: #333;
  line-height: 1.6;
}

#root {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

a {
  color: #4f46e5;
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

button, input, textarea {
  font-family: inherit;
}

/* 应用于所有按钮的默认样式 */
button {
  cursor: pointer;
  transition: all 0.2s ease;
}

/* 去除input默认样式 */
input:focus, textarea:focus, button:focus {
  outline: none;
}

h1, h2, h3, h4, h5, h6 {
  line-height: 1.2;
  margin-bottom: 0.5em;
}

p {
  margin-bottom: 1rem;
}
svg.button-icon {
  line-height: 18px;
  display: inline-block;
  vertical-align: top;
}
span.button-text{
  line-height: 18px;
  display: inline-block;
  vertical-align: top;
}
.image-upload-button {
  background-color: #8a7128;
    color: white;
    padding: 10px 13px;
    border: none;
    border-radius: 4px;
    font-size: 16px;
    cursor: pointer;
    white-space: nowrap;
    height: 48px;
    box-sizing: border-box;
}
.markdown-body {
  color: #24292e;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Helvetica, Arial, sans-serif;
  font-size: 16px;
  line-height: 1.5;
  max-width: 100%;
}

.markdown-body blockquote {
  border-left: 4px solid #dfe2e5;
  color: #6a737d;
  padding: 0 1em;
  margin: 0 0 16px;
}

.markdown-body code {
  background-color: rgba(27, 31, 35, 0.05);
  border-radius: 3px;
  font-family: 'SFMono-Regular', Consolas, 'Liberation Mono', Menlo, monospace;
  font-size: 85%;
  margin: 0;
  padding: 0.2em 0.4em;
}

.markdown-body pre {
  background-color: #f6f8fa;
  border-radius: 3px;
  font-family: 'SFMono-Regular', Consolas, 'Liberation Mono', Menlo, monospace;
  font-size: 85%;
  line-height: 1.45;
  overflow: auto;
  padding: 16px;
}

.markdown-body pre code {
  background-color: transparent;
  border: 0;
  display: inline;
  line-height: inherit;
  margin: 0;
  max-width: auto;
  overflow: visible;
  padding: 0;
  word-wrap: normal;
}

.markdown-body img {
  max-width: 100%;
  box-sizing: content-box;
}
